package com.hoshiicloud.payment.param;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program: hoshiicloud
 * @description: 支付回调处理参数
 * @author: Mr.wu
 * @create: 2019-05-23 16:48
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class CallBackRequest {

    /**
     * 订单金额
     */
    private BigDecimal amount;

    /**
     * 我方交易订单号
     */
    private String tradeNo;

    /**
     * 第三方渠道交易订单号
     */
    private String outTradeNo;

    /**
     * 支付时间
     */
    private LocalDateTime payTime;
}
